<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="editor">
    <p>欢迎使用 <b>wangEditor</b> 富文本编辑器</p>
</div>

<!-- 注意， 只需要引用 JS，无需引用任何 CSS ！！！-->
<script type="text/javascript" src="../plugin/wangEditor-3.1.1/release/wangEditor.min.js"></script>
<script type="text/javascript" src="../js/ljf_base.js"></script>
<script type="text/javascript">
    var E = window.wangEditor
    var editor = new E('#editor')
    // 配置服务器端地址
    editor.customConfig.uploadImgServer = 'http://192.168.43.122:8812/upload'
    editor.customConfig.uploadFileName = 'file'
    
    editor.create()
</script>
</body>
</html>